package com.zrwl.poscloud.xo.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zrwl.poscloud.base.entity.UserServiceOrderDetail;
import com.zrwl.poscloud.base.superI.SuperMapper;
import com.zrwl.poscloud.xo.vo.UserServiceOrderDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单记录 Mapper类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-05-29
 */
public interface UserServiceOrderDetailMapper extends SuperMapper<UserServiceOrderDetail> {

    IPage<UserServiceOrderDetailVO> getPageList(@Param("page") Page<UserServiceOrderDetailVO> page, @Param("param") UserServiceOrderDetailVO userServiceOrderDetailVO);

    List<UserServiceOrderDetailVO> getUserServiceOrderDetaillist();

    List<UserServiceOrderDetailVO> getListByOrderUidAndProType(@Param("orderUid") String orderUid, @Param("cellUid") String cellUid);

    List<UserServiceOrderDetailVO> getOrderDetailByEmployeeUid(@Param("employeeUid") String employeeUid);
}
